package com.dz.lm.dao.appLogin.write;

import java.util.Map;

import com.dz.lm.common.exception.DaoException;
import com.dz.lm.common.utils.stereotype.WriterRepository;
import com.dz.lm.domain.user.User;

@WriterRepository("writeAppLoginDao")
public interface AppLoginDao{
	/**
	 * 新增用户
	 */
	int addNewUserInfo(User u)throws DaoException;
	/**
	 * 找回密码（更新）
	 */
	int updateUserInfo(User u)throws DaoException;
	/**
	 * 新增融云TOKEN记录
	 */
	int addRyToken(Map<String, Object> param)throws DaoException;
	/**
	 * 更融云TOKEN记录
	 */
	int updateRyToken(Map<String, Object> param)throws DaoException;
}